<script setup lang="ts">
import { Version } from '../../services/client';

const props = defineProps<{ data?: Version }>();
</script>

<template>
    <ElText>
        {{ props.data?.major ?? 0 }}.{{ props.data?.minor ?? 0 }}.{{ props.data?.revision ?? 0 }}.{{ props.data?.build ??
            0 }}
    </ElText>
</template>